
#ifndef   __STRIG_LIB_H_
#define   __STRIG_LIB_H_

extern signed int errno;

signed char MemCmp ( unsigned char* s1, unsigned char* s2, unsigned char BytesNumber );

void FlipFlopN ( char* Str, unsigned char Len );

signed long StrToLong( const char* s );

signed char StrFindChar ( unsigned char *Buffer, unsigned char Ch );

unsigned char* MemCpy ( unsigned char *m1, const unsigned char *m2, unsigned char ByteNumber );

char* StrCat( char* to, const char* from );
unsigned char ItsNumber ( unsigned char val );

char* LongToStr( unsigned char* s, unsigned long Val );
void MemSet ( unsigned char *m, unsigned char ByteNumber, unsigned char FillByte );
unsigned char* StrCpy ( unsigned char *s1, const char *s2 );

unsigned char* HexToChar( unsigned char* Char, unsigned char* Hex, unsigned char HexCount );

int StrLen( const char *s );

unsigned char* CharnToHex( unsigned char* Hex, unsigned char* Char, unsigned char ByteCount );

//int StrCmp( register const char * s1, register const char * s2 );
signed char StrCmp( register const char * s1, register const char * s2 );

#define   ClearBuffer(b,ByteNumber) 	MemSet(b, ByteNumber, 0)	


#endif
